-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge dev to main #280
Merged
Merged
Merge dev to main #280
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Merge pull request projectsveltos#273 from gianlucam76/main
A ClusterSet/Set allows to manage a group of clusters and dynamically select a subset for deployments based on specific criteria. It offers the following capabilities: - Selection: Clusters are chosen using a defined clusterSelector; - Capping: A field named maxReplicas specifies the maximum number of clusters to be selected from the pool matching the clusterSelector. - Failover: If a selected cluster becomes unavailable, another cluster from the matching pool will be automatically chosen to maintain the desired number of active clusters (up to the maxReplicas limit). A ClusterProfile can reference a ClusterSet by specifying its name. A Profile can reference a Set by specifying its name. The add-ons defined in the ClusterProfile will be deployed only to the currently selected clusters within the referenced ClusterSet/Set. This enables dynamic deployment management based on the available and healthy clusters in the set. This feature is particularly useful for scenarios where you want to: Implement active/passive failover: Create a ClusterSet/Set with maxReplicas: 1 and have it match two clusters in the clusterSelector. This ensures only one cluster is active at a time. If the active cluster goes down, the backup cluster will be automatically selected for deployments.
Introduce ClusterSet/Set
Adjust field names for ClusterSet/Set Status fields
In certain case it might be convenient to simply list all clusters that are part of a ClusterSet/Set without using a cluster selector. This also makes cluster selection inline with ClusterProfile/Profile. This PR also removes clusterproxy utility IsClusterReady as duplicate of IsClusterReadyToBeConfigured.
Add ClusterRefs to ClusterSet/Set
This is a behavior change. Previoulsy, only deleted clusters were not considered.
…ady-cluster Matching clusters: only cluster ready to be programmed can be a match
Bump go modules
gianlucam76
added a commit
that referenced
this pull request
Apr 1, 2024
Merge pull request #280 from gianlucam76/main
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Post release v0.26.0